static extern int SCardStatus(int hCard, ref IntPtr szReaderName, ref int pcchReaderLen, ref int pdwState, ref int pdwProtocol, byte[] pbAtr, ref int pcbAtrLen);
User-Defined Types:
None.
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
TODO
The SCardStatus function provides the current status of a smart card in a reader. You can call it any time after a successful call to SCardConnect and before a successful call to SCardDisconnect. It does not affect the state of the reader or reader driver.
12/12/2013 12:09:24 PM - Chris Drake-153.23.1.60
The SCardConnect function establishes a connection (using a specific resource manager context) between the calling application and a smart card contained by a specific reader. If no card exists in the specified reader, an error is returned.
2/20/2012 7:46:16 PM - -60.49.32.216
The SCardDisconnect function terminates a connection previously opened between the calling application and a smart card in the target reader.
3/16/2007 8:35:46 AM - Pieter Philippaerts-213.46.162.168
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.